package org.example.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.springcloud.pojo.Dept;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zfj
 * @date 2022/2/17 -11:50
 */
@Mapper
@Repository
public interface DeptDao {
	boolean addDept(Dept dept);

	Dept queryById(Long id);

	List<Dept> queryAll();
}
